home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mgr / sparcmgr / demo1.zoo / demo / ify / makefile < prev    next >
Encoding:
Makefile  |  1989-10-02  |  768 b   |  26 lines

  1. # Makefile for ify
  2.  
  3. CC = cc
  4.  
  5. # change these lines to say where to find the mgr #include files and libraries
  6. # perhaps add -DOLDMGR to the end of CFLAGS
  7. CFLAGS = -I../../lib -O
  8. MGRLIB = ../../lib/libmgr.a
  9.  
  10. all: mesg ify setname
  11. mesg:
  12.     @echo "If the compile fails, adjust CFLAGS and MGRLIB in the"
  13.     @echo "makefile to say where to find the mgr #include files and"
  14.     @echo "libraries."
  15.     @echo " "
  16.     @echo "If the compile still fails, or if ify compiles but hangs,"
  17.     @echo "try adding -DOLDMGR to the end of the CFLAGS."
  18.     @echo " "
  19.     @echo "In the worst case, try changing CC to cc instead of gcc."
  20. ify: ify.o icondata.o
  21.     $(CC) $(CFLAGS) ify.o icondata.o $(MGRLIB) -o ify
  22. ify.o: ify.c
  23. icondata.o: icondata.c
  24. setname: setname.c
  25.     $(CC) $(CFLAGS) setname.c $(MGRLIB) -o setname
  26.